package config

import "pqstat/pkg/stat"

var QueueConfigs []qconfig

type qconfig struct {
	Channel string
	Cbs     []func(msg interface{})
}

func init() {
	statCateRank := stat.CateRank{}
	QueueConfigs = []qconfig{
		{
			"after_submit", []func(msg interface{}){
				statCateRank.Invoke,
			},
		},
	}
}
